/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;

  /* 🌄 Background image with gradient overlay */
  background: 
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.55)),
    url("contact img.jpg") center/cover no-repeat fixed;

}

/* Contact Section */
.contact-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-container {
  background: rgba(255, 255, 255, 0.92); /* Semi-transparent white */
  backdrop-filter: blur(10px); /* Adds a frosted-glass effect */
  padding: 45px 50px;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 600px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-container:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* -------------------- HEADING -------------------- */
.contact-container h1 {
  text-align: center;
  margin-bottom: 10px;
  color: #2575fc;
  font-size: 2rem;
  letter-spacing: 1px;
}

.contact-container p {
  text-align: center;
  margin-bottom: 30px;
  color: #555;
  font-size: 1rem;
  line-height: 1.5;
}

/* -------------------- FORM -------------------- */
.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
  font-size: 0.95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  background: #fafafa;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2575fc;
  background: #fff;
  box-shadow: 0 0 10px rgba(37, 117, 252, 0.3);
  outline: none;
}

/* -------------------- BUTTON -------------------- */
.btn {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #6a11cb, #2575fc);
  color: #fff;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background: linear-gradient(90deg, #2575fc, #6a11cb);
  box-shadow: 0 6px 20px rgba(37, 117, 252, 0.4);
  transform: translateY(-3px);
}

/* -------------------- INPUT ANIMATION -------------------- */
input::placeholder,
textarea::placeholder {
  color: #999;
  transition: color 0.3s;
}

input:focus::placeholder,
textarea:focus::placeholder {
  color: #2575fc;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 600px) {
  .contact-container {
    padding: 30px 25px;
  }

  .contact-container h1 {
    font-size: 1.6rem;
  }

  .btn {
    font-size: 16px;
  }
}